<div class="panel panel-default">

  <div class="panel-body">
    <div class="col-lg-3">
      <input type="text" class="form-control" ng-model="item.name" placeholder="分销商名称">
    </div>
    <div class="col-lg-2">
      <button class="btn btn-info search btn-block" ng-click="find()">立即搜索</button>
    </div>
  </div>

  <div class="panel-body">
    <table class="table table-striped table-bordered" style="display: table; width: 100%; table-layout:fixed;">
      <thead>
        <tr>
          <th class="text-center" style="width: 20%">分销商名称（编号）</th>
          <th class="text-center" style="width: 10%">预存余额(元)</th>
          <th class="text-center" style="width: 10%">信用额度(元)</th>
          <th class="text-center" style="width: 10%">可用额度(元)</th>
          <!-- <th class="text-center" style="width: 14%">余额不足提示值(元)</th>
          <th class="text-center" style="width: 10%">短信提示</th>
          <th class="text-center" style="width: 11%">手机号码</th> -->
          <th class="text-center" style="width: 15%">操作</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="info in list | filter:{'seller_name': item.seller_name}">
          <td>{{info.seller_name}}（{{info.seller_code}}）</td>
          <td class="text-center">{{info.show ? (info.balance_price | currency : '￥') : '-'}}</td>
          <td class="text-center">{{info.show ? info.loan_limit_price : '-' | currency : '￥'}}</td>
          <td class="text-center">{{info.show ? info.all_balance : '-' | currency : '￥'}}</td>
          <!-- <td class="text-center">{{info.show ? info.send_sms_price : '-' | currency : '￥'}}</td>
          <td class="text-center">{{info.send_sms_flag==1 ? '是' : '否'}}</td>
          <td class="text-center">{{info.send_sms_mobile ? info.send_sms_mobile : '-'}}</td> -->
          <td class="text-center">
            <button type="button" class="btn btn-info btn-xs" ng-click="update(info,true)">余额充值</button>
            <!-- <button type="button" class="btn btn-info btn-xs" ng-click="detail(info)">记录</button> -->
            <button type="button" class="btn btn-info btn-xs" ng-click="update(info,false)">调整信用额度</button>
            <button type="button" class="btn btn-info btn-xs" ng-click="findlist(info)">查看交易记录</button>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
		
</div>


